package com.tool.shardingjdbc.core.dao;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tool.shardingjdbc.core.dto.TestQueryDTO;
import com.tool.shardingjdbc.core.model.Test;
import java.util.List;

public interface TestDao {
    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int insert(Test record);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int insertSelective(Test record);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    Test selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int updateByPrimaryKeySelective(Test record);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int updateByPrimaryKey(Test record);

    /**
     *
     * @mbg.generated 2020-07-23 15:34:18
     */
    int updateByPrimaryKeys(List<Integer> ids);

    Page<Test> selectByPage(TestQueryDTO testQueryDTO);
}